using System;

namespace Commons.Loading
{
	public interface ILoadingContainerTask
	{
		event Action<object, EventArgs> Complete;

		int NumChildren { get; }

		void Start();

		void Stop();

		ILoadingTask AddTask(string taskId, BasicLoadingTask newTask);
	}
}